package com.project.pet.pojo;


import lombok.Data;
import javax.persistence.Id;
import java.io.Serializable;

@Data
public class Comment implements Serializable{
	private static final long serialVersionUID = 1L;

	@Id
	/**
	 * 主键
	 */
	private Integer id;

	/**
	 * 用户id
	 */
	private Integer wxUserId;

	/**
	 * 资讯id
	 */
	private Integer infoId;

	/**
	 * 顶级评论id
	 */
	private Integer topId;

	/**
	 * 父评论id
	 */
	private Integer parentId;

	/**
	 * 点赞
	 */
	private Integer star;

	/**
	 * 评论内容
	 */
	private String content;

	/**
	 * 发布时间
	 */
	private String time;


}
